package com.tencent.wxcloudrun.dao;

import com.tencent.wxcloudrun.dto.UserEntity;
import com.tencent.wxcloudrun.dto.UserInfoEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface UserMapper {
    UserEntity LoginUser (Map<String, Object> userInfo);

    boolean SignInUser (UserEntity user);

    boolean UpdateUser (Map<String, Object> userInfo);

    UserInfoEntity SelectUserInfoById (Map<String, Object> userInfo);

    UserEntity SelectUserById (Map<String, Object> userInfo);
}
